<%-- 
    Document   : DeleteCarrera
    Created on : 30-dic-2011, 4:08:07
    Author     : Hades
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" type="text/css" href="css/style.css"/>
	<script language="JavaScript" type="text/javascript" src="js/jquery-1.7.1.js">
        </script>
        <script language="JavaScript" type="text/javascript" src="js/jquery-validation-1.9.0/jquery.validate.js">
        </script>
        <script language="JavaScript" type="text/javascript" src="js/jquery.maskedinput-1.3.js">
        </script>
        <script>
         $(document).ready(function(){
         $("#formulario").validate(
          {
              rules:{idCarrera:{requiere:true}},
              messages:{idCarrera:"Ingresar ID de Carrera"}
          }
        )
         });
         </script>
         <!-- 
         Script que utiliza mascaras de JQuery para validar
         -->
        <script type="text/javascript"> 
        jQuery(function($){ 
        $("#idCarrera").mask("999?9"); 
         }); 
        </script>
       
    </head>
    <body>

        <form id="formulario" name="formulario" method="post" action="DeleteCarreraServlet">
            <table align="center">
                <tr>
                    <td colspan="2" align="center"><h1>Eliminar Datos de Carrera<h1></td>
                                </tr>
                                <tr>
                                    <td>ID de Carrera</td>
                                    <td><input type="text" id="idCarrera" name="idCarrera" class="required"/></td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="center"><input type="submit" value="enviar" /></td>
                                </tr>
                                </table>
                                </form>
                                </body>
                                </html>
